Skip to content

chore: add attach-gate debug log and skip-list maintenance warning - #544

Merged
danshapiro merged 1 commit into
mainfrom
chore/detach-polish-nits
Jul 27, 2026
Merged

chore: add attach-gate debug log and skip-list maintenance warning#544
danshapiro merged 1 commit into
mainfrom
chore/detach-polish-nits

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Summary

Polish hardening from review notes on PR #534 (terminal attach-leak fix):

  • Add debug log in TerminalView.attachTerminal attach gate to diagnose terminal-not-referenced misfires
  • Add MAINTENANCE WARNING comment in terminalDetachMiddleware.ts skipDetachActionTypes set documenting registration requirements

Verification

  • Focused suites pass (terminalDetachMiddleware.test.ts 12/12, TerminalView.hidden-rebind.test.tsx 2/2)
  • typecheck: tsc --noEmit clean
  • lint: eslint clean on both files
  • Comment + debug-log only; no behavior change

Closes #534 review thread context.

…rning

- Add debug log in TerminalView.attachTerminal attach gate to diagnose
  misfires when a terminal is not referenced by any pane layout
- Add MAINTENANCE WARNING comment in terminalDetachMiddleware.ts
  skipDetachActionTypes set documenting the requirement to register
  dead-terminal-stripping reducers and prohibition on registering
  live-terminal-stripping actions

Related to review notes from PR #534 (terminal attach-leak fix).

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
@danshapiro
danshapiro merged commit ac18091 into main Jul 27, 2026
3 checks passed
@danshapiro
danshapiro deleted the chore/detach-polish-nits branch July 27, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant